const http = uni.$u.http

// post请求，获取菜单
export const postMenu = (params, config = {}) => http.post('/a/post/index', params, config)

// get请求，获取菜单，注意：get请求的配置等，都在第二个参数的 params 中
export const getMenu = (data) => http.get('/a/get/index', data)
